import request from '@/utils/request'

enum API {
  GetMaterialList = '/api/material'
}

export function GetMaterialListApi(pages: { page: number; pageSize: number }) {
  return request.get(`${API.GetMaterialList}?page=${pages.page}&limit=${pages.pageSize}`)
}
